package com.qhw.test1;

public class CustomService {
        private UserService service;
        public void say() throws Exception{
            String string = service.randomString();
            System.out.println(string);
//            Class<?> UU = Class.forName("com.qhw.test.UserService");
//            Object o = UU.newInstance();
//            Method randomString = UU.getDeclaredMethod("randomString");
//            Object o1 = randomString.invoke(o);
//            System.out.println(o1);
        }


}
